<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">模板列表</h1>
</div>

<div class="panel panel-default">

  <!--  搜索框  -->
  <div class="row wrapper" >
    <div class="col-sm-6 m-b-xs">
      <div class="input-group" >
        <div class="input-group-btn" >
          <span class="btn btn-default">模板编码</span>
        </div>
        <input type="text" class="form-control ng-pristine ng-valid ng-touched" ng-model="searchTemp">
      </div>
    </div>
  </div>

  <!--  数据表格  -->
  <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" 
    style="display: table; width: 100%;table-layout:fixed;">
    <thead>
      <tr>
        <th style="width: 10%;text-align:center;">模板编码</th>
        <th style="width: 10%;text-align:center;">模板名称</th>
        <th style="width: 10%;text-align:center;">模板标题</th>
        <th style="width: 5%;text-align:center;">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="info in templete_list | filter : {'templete_code': searchTemp}">
        <td style="text-align:center;">{{info.templete_code}}</td>
        <td style="text-align:center;">{{info.templete_name}}</td>
        <td style="text-align:center;">{{info.templete_title}}</td>
        <td style="text-align:center;">
          <button class="btn btn-info btn-rounded" ng-click="setRole(info)">设置</button>
        </td>
      </tr>
    </tbody>
  </table>

  
</div>


